-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.4.2
-
Code
-
Classes
- PNGConverter
Total Complexity |
58 |
Dependencies |
4 |
Dependents |
0 |
Total lines |
410 |
Lines of code |
272 |
Logical lines of code |
173 |
Comment lines |
29 |
Methods |
10 |
Properties |
9 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
run() |
B |
37 |
15 |
76 |
convert() |
A |
41 |
10 |
58 |
isTransparent() |
A |
45 |
10 |
36 |
getPNGImage() |
S |
50 |
6 |
34 |
isConvertable() |
S |
56 |
6 |
20 |
__construct() |
S |
59 |
4 |
13 |
restore() |
S |
55 |
2 |
20 |
hasTried() |
S |
70 |
2 |
7 |
raiseMemoryLimit() |
S |
74 |
2 |
5 |
getCheckSum() |
S |
80 |
1 |
3 |